package com.tansun.easycare.rule.refemodel.service;

import java.util.List;
import java.util.Map;

import com.tansun.easycare.rule.common.service.RuleBaseService;
import com.tansun.easycare.rule.refemodel.entity.RuleReleModel;

/**
 * 规则引用Service
 * @author lixs
 * @version 2019-11-19
 */
public interface RuleReleModelService extends RuleBaseService<RuleReleModel> {

	List<RuleReleModel> findReleModelList(String nodeId,String version) ;
	
	void  deleteByNodeId(String   nodeId);

	/**
	 * 删除组件时候，查看是否有被决策树引用
	 * @return
	 */
	List<RuleReleModel> findReleModelListForDel(String projectCode,String releCode);
}